@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('fonts/AlibabaPuHuiTi-3-55-Regular.woff') format('woff2'),
    url('fonts/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype');
    font-style: normal;
}

.el-header {
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    /*font-family: 'AlibabaPuHuiTi', sans-serif;*/
}

/* 主题色变量 */
:root {
    --el-color-primary: #8B5CF6 !important;
    --el-color-primary-light-3: #A78BFA !important;
    --el-color-primary-light-5: #C4B5FD !important;
    --el-color-primary-light-7: #DDD6FE !important;
    /*--el-color-primary-light-9: #F5F3FF !important;*/
    --el-color-primary-dark-2: #7C3AED !important;
    /*--el-menu-hover-bg-color: #222831 !important;*/
}

/* 解决 el-icon size不生效 */
*,
::before,
::after {
    box-sizing: border-box;
    font-size: 14px;
}

svg {
    font-size: unset;
}

.price {
    font-weight: bold;
    color: #e74c3c;
    font-size: 16px
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    width: 1300px;
    margin: 0 auto;
}

.user-info {
    gap: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}